package com.tm.model;

import java.math.BigDecimal;

public class SpSkuInfo {
    private Integer skuId;

    private Integer typeId;

    private Integer merchantsId;

    private String skuSource;

    private String skuType;

    private String skuName;

    private String skuNo;

    private String skuFormat;

    private Integer stockAmountAll;

    private Integer stockAmountRest;

    private Integer lockAmountRest;

    private BigDecimal skuPrice;

    private BigDecimal promotionPrice;

    private BigDecimal twMoney;

    private String auditState;

    private String auditTime;

    private String skuUnit;

    private String skuOnsaleState;

    private String skuOnsaleTime;

    private Integer skuOrder;

    private Integer skuSaleStateId;

    private String skuSaleType;

    private String isDelete;

    private String addTime;

    private Integer addUserId;

    private String editTime;

    private Integer editUserId;

    private String isStatus;

    private String skuNotes;

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getMerchantsId() {
        return merchantsId;
    }

    public void setMerchantsId(Integer merchantsId) {
        this.merchantsId = merchantsId;
    }

    public String getSkuSource() {
        return skuSource;
    }

    public void setSkuSource(String skuSource) {
        this.skuSource = skuSource;
    }

    public String getSkuType() {
        return skuType;
    }

    public void setSkuType(String skuType) {
        this.skuType = skuType;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuNo() {
        return skuNo;
    }

    public void setSkuNo(String skuNo) {
        this.skuNo = skuNo;
    }

    public String getSkuFormat() {
        return skuFormat;
    }

    public void setSkuFormat(String skuFormat) {
        this.skuFormat = skuFormat;
    }

    public Integer getStockAmountAll() {
        return stockAmountAll;
    }

    public void setStockAmountAll(Integer stockAmountAll) {
        this.stockAmountAll = stockAmountAll;
    }

    public Integer getStockAmountRest() {
        return stockAmountRest;
    }

    public void setStockAmountRest(Integer stockAmountRest) {
        this.stockAmountRest = stockAmountRest;
    }

    public Integer getLockAmountRest() {
        return lockAmountRest;
    }

    public void setLockAmountRest(Integer lockAmountRest) {
        this.lockAmountRest = lockAmountRest;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    public BigDecimal getPromotionPrice() {
        return promotionPrice;
    }

    public void setPromotionPrice(BigDecimal promotionPrice) {
        this.promotionPrice = promotionPrice;
    }

    public BigDecimal getTwMoney() {
        return twMoney;
    }

    public void setTwMoney(BigDecimal twMoney) {
        this.twMoney = twMoney;
    }

    public String getAuditState() {
        return auditState;
    }

    public void setAuditState(String auditState) {
        this.auditState = auditState;
    }

    public String getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(String auditTime) {
        this.auditTime = auditTime;
    }

    public String getSkuUnit() {
        return skuUnit;
    }

    public void setSkuUnit(String skuUnit) {
        this.skuUnit = skuUnit;
    }

    public String getSkuOnsaleState() {
        return skuOnsaleState;
    }

    public void setSkuOnsaleState(String skuOnsaleState) {
        this.skuOnsaleState = skuOnsaleState;
    }

    public String getSkuOnsaleTime() {
        return skuOnsaleTime;
    }

    public void setSkuOnsaleTime(String skuOnsaleTime) {
        this.skuOnsaleTime = skuOnsaleTime;
    }

    public Integer getSkuOrder() {
        return skuOrder;
    }

    public void setSkuOrder(Integer skuOrder) {
        this.skuOrder = skuOrder;
    }

    public Integer getSkuSaleStateId() {
        return skuSaleStateId;
    }

    public void setSkuSaleStateId(Integer skuSaleStateId) {
        this.skuSaleStateId = skuSaleStateId;
    }

    public String getSkuSaleType() {
        return skuSaleType;
    }

    public void setSkuSaleType(String skuSaleType) {
        this.skuSaleType = skuSaleType;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public Integer getEditUserId() {
        return editUserId;
    }

    public void setEditUserId(Integer editUserId) {
        this.editUserId = editUserId;
    }

    public String getIsStatus() {
        return isStatus;
    }

    public void setIsStatus(String isStatus) {
        this.isStatus = isStatus;
    }

    public String getSkuNotes() {
        return skuNotes;
    }

    public void setSkuNotes(String skuNotes) {
        this.skuNotes = skuNotes;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SpSkuInfo other = (SpSkuInfo) that;
        return (this.getSkuId() == null ? other.getSkuId() == null : this.getSkuId().equals(other.getSkuId()))
            && (this.getTypeId() == null ? other.getTypeId() == null : this.getTypeId().equals(other.getTypeId()))
            && (this.getMerchantsId() == null ? other.getMerchantsId() == null : this.getMerchantsId().equals(other.getMerchantsId()))
            && (this.getSkuSource() == null ? other.getSkuSource() == null : this.getSkuSource().equals(other.getSkuSource()))
            && (this.getSkuType() == null ? other.getSkuType() == null : this.getSkuType().equals(other.getSkuType()))
            && (this.getSkuName() == null ? other.getSkuName() == null : this.getSkuName().equals(other.getSkuName()))
            && (this.getSkuNo() == null ? other.getSkuNo() == null : this.getSkuNo().equals(other.getSkuNo()))
            && (this.getSkuFormat() == null ? other.getSkuFormat() == null : this.getSkuFormat().equals(other.getSkuFormat()))
            && (this.getStockAmountAll() == null ? other.getStockAmountAll() == null : this.getStockAmountAll().equals(other.getStockAmountAll()))
            && (this.getStockAmountRest() == null ? other.getStockAmountRest() == null : this.getStockAmountRest().equals(other.getStockAmountRest()))
            && (this.getLockAmountRest() == null ? other.getLockAmountRest() == null : this.getLockAmountRest().equals(other.getLockAmountRest()))
            && (this.getSkuPrice() == null ? other.getSkuPrice() == null : this.getSkuPrice().equals(other.getSkuPrice()))
            && (this.getPromotionPrice() == null ? other.getPromotionPrice() == null : this.getPromotionPrice().equals(other.getPromotionPrice()))
            && (this.getTwMoney() == null ? other.getTwMoney() == null : this.getTwMoney().equals(other.getTwMoney()))
            && (this.getAuditState() == null ? other.getAuditState() == null : this.getAuditState().equals(other.getAuditState()))
            && (this.getAuditTime() == null ? other.getAuditTime() == null : this.getAuditTime().equals(other.getAuditTime()))
            && (this.getSkuUnit() == null ? other.getSkuUnit() == null : this.getSkuUnit().equals(other.getSkuUnit()))
            && (this.getSkuOnsaleState() == null ? other.getSkuOnsaleState() == null : this.getSkuOnsaleState().equals(other.getSkuOnsaleState()))
            && (this.getSkuOnsaleTime() == null ? other.getSkuOnsaleTime() == null : this.getSkuOnsaleTime().equals(other.getSkuOnsaleTime()))
            && (this.getSkuOrder() == null ? other.getSkuOrder() == null : this.getSkuOrder().equals(other.getSkuOrder()))
            && (this.getSkuSaleStateId() == null ? other.getSkuSaleStateId() == null : this.getSkuSaleStateId().equals(other.getSkuSaleStateId()))
            && (this.getSkuSaleType() == null ? other.getSkuSaleType() == null : this.getSkuSaleType().equals(other.getSkuSaleType()))
            && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getAddUserId() == null ? other.getAddUserId() == null : this.getAddUserId().equals(other.getAddUserId()))
            && (this.getEditTime() == null ? other.getEditTime() == null : this.getEditTime().equals(other.getEditTime()))
            && (this.getEditUserId() == null ? other.getEditUserId() == null : this.getEditUserId().equals(other.getEditUserId()))
            && (this.getIsStatus() == null ? other.getIsStatus() == null : this.getIsStatus().equals(other.getIsStatus()))
            && (this.getSkuNotes() == null ? other.getSkuNotes() == null : this.getSkuNotes().equals(other.getSkuNotes()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSkuId() == null) ? 0 : getSkuId().hashCode());
        result = prime * result + ((getTypeId() == null) ? 0 : getTypeId().hashCode());
        result = prime * result + ((getMerchantsId() == null) ? 0 : getMerchantsId().hashCode());
        result = prime * result + ((getSkuSource() == null) ? 0 : getSkuSource().hashCode());
        result = prime * result + ((getSkuType() == null) ? 0 : getSkuType().hashCode());
        result = prime * result + ((getSkuName() == null) ? 0 : getSkuName().hashCode());
        result = prime * result + ((getSkuNo() == null) ? 0 : getSkuNo().hashCode());
        result = prime * result + ((getSkuFormat() == null) ? 0 : getSkuFormat().hashCode());
        result = prime * result + ((getStockAmountAll() == null) ? 0 : getStockAmountAll().hashCode());
        result = prime * result + ((getStockAmountRest() == null) ? 0 : getStockAmountRest().hashCode());
        result = prime * result + ((getLockAmountRest() == null) ? 0 : getLockAmountRest().hashCode());
        result = prime * result + ((getSkuPrice() == null) ? 0 : getSkuPrice().hashCode());
        result = prime * result + ((getPromotionPrice() == null) ? 0 : getPromotionPrice().hashCode());
        result = prime * result + ((getTwMoney() == null) ? 0 : getTwMoney().hashCode());
        result = prime * result + ((getAuditState() == null) ? 0 : getAuditState().hashCode());
        result = prime * result + ((getAuditTime() == null) ? 0 : getAuditTime().hashCode());
        result = prime * result + ((getSkuUnit() == null) ? 0 : getSkuUnit().hashCode());
        result = prime * result + ((getSkuOnsaleState() == null) ? 0 : getSkuOnsaleState().hashCode());
        result = prime * result + ((getSkuOnsaleTime() == null) ? 0 : getSkuOnsaleTime().hashCode());
        result = prime * result + ((getSkuOrder() == null) ? 0 : getSkuOrder().hashCode());
        result = prime * result + ((getSkuSaleStateId() == null) ? 0 : getSkuSaleStateId().hashCode());
        result = prime * result + ((getSkuSaleType() == null) ? 0 : getSkuSaleType().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getAddUserId() == null) ? 0 : getAddUserId().hashCode());
        result = prime * result + ((getEditTime() == null) ? 0 : getEditTime().hashCode());
        result = prime * result + ((getEditUserId() == null) ? 0 : getEditUserId().hashCode());
        result = prime * result + ((getIsStatus() == null) ? 0 : getIsStatus().hashCode());
        result = prime * result + ((getSkuNotes() == null) ? 0 : getSkuNotes().hashCode());
        return result;
    }
}